package com.s4j.struts.biz.model;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

@Entity
@Table(name="biz_li_compute")
public class BizLiCompute {
	private Long computeId;	
	private PatientDoc patient;
	private Integer dcq;
	private Integer gxnb;
	private Integer fushui;
	private Integer dhs;
	private Integer bdb;
	private Integer pt;
	private String meld;
	private BigDecimal mjm_bc;
	private BigDecimal mjm_ct;
	private Integer sdw_bw;
	private Integer sdw_color;
	private Integer sdw_red;
	private Integer tjpz;
	private BigDecimal phd_bc;
	private BigDecimal phd_ct;
	private BigDecimal pcz_bc;
	private BigDecimal pcz_ct;
	private BigDecimal pkd_bc;
	private BigDecimal pkd_ct;
	private BigDecimal bxb;
	private BigDecimal xxb;
	private BigDecimal hxb;
	private BigDecimal xhdb;
	private BigDecimal hxbbj;
	private Integer bfz;
	
	@OneToOne  
    @JoinColumn(name="patientId",insertable=true,unique=true)
	public PatientDoc getPatient() {
		return patient;
	}

	public void setPatient(PatientDoc patient) {
		this.patient = patient;
	}
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getComputeId() {
		return computeId;
	}

	public void setComputeId(Long computeId) {
		this.computeId = computeId;
	}

	public Integer getDcq() {
		return dcq;
	}

	public void setDcq(Integer dcq) {
		this.dcq = dcq;
	}

	public Integer getGxnb() {
		return gxnb;
	}

	public void setGxnb(Integer gxnb) {
		this.gxnb = gxnb;
	}

	public Integer getFushui() {
		return fushui;
	}

	public void setFushui(Integer fushui) {
		this.fushui = fushui;
	}

	public Integer getDhs() {
		return dhs;
	}

	public void setDhs(Integer dhs) {
		this.dhs = dhs;
	}

	public Integer getBdb() {
		return bdb;
	}

	public void setBdb(Integer bdb) {
		this.bdb = bdb;
	}

	public Integer getPt() {
		return pt;
	}

	public void setPt(Integer pt) {
		this.pt = pt;
	}

	public String getMeld() {
		return meld;
	}

	public void setMeld(String meld) {
		this.meld = meld;
	}

	public BigDecimal getMjm_bc() {
		return mjm_bc;
	}

	public void setMjm_bc(BigDecimal mjm_bc) {
		this.mjm_bc = mjm_bc;
	}

	public BigDecimal getMjm_ct() {
		return mjm_ct;
	}

	public void setMjm_ct(BigDecimal mjm_ct) {
		this.mjm_ct = mjm_ct;
	}

	public Integer getSdw_bw() {
		return sdw_bw;
	}

	public void setSdw_bw(Integer sdw_bw) {
		this.sdw_bw = sdw_bw;
	}

	public Integer getSdw_color() {
		return sdw_color;
	}

	public void setSdw_color(Integer sdw_color) {
		this.sdw_color = sdw_color;
	}

	public Integer getSdw_red() {
		return sdw_red;
	}

	public void setSdw_red(Integer sdw_red) {
		this.sdw_red = sdw_red;
	}

	public Integer getTjpz() {
		return tjpz;
	}

	public void setTjpz(Integer tjpz) {
		this.tjpz = tjpz;
	}

	public BigDecimal getPhd_bc() {
		return phd_bc;
	}

	public void setPhd_bc(BigDecimal phd_bc) {
		this.phd_bc = phd_bc;
	}

	public BigDecimal getPhd_ct() {
		return phd_ct;
	}

	public void setPhd_ct(BigDecimal phd_ct) {
		this.phd_ct = phd_ct;
	}

	public BigDecimal getPcz_bc() {
		return pcz_bc;
	}

	public void setPcz_bc(BigDecimal pcz_bc) {
		this.pcz_bc = pcz_bc;
	}

	public BigDecimal getPcz_ct() {
		return pcz_ct;
	}

	public void setPcz_ct(BigDecimal pcz_ct) {
		this.pcz_ct = pcz_ct;
	}

	public BigDecimal getPkd_bc() {
		return pkd_bc;
	}

	public void setPkd_bc(BigDecimal pkd_bc) {
		this.pkd_bc = pkd_bc;
	}

	public BigDecimal getPkd_ct() {
		return pkd_ct;
	}

	public void setPkd_ct(BigDecimal pkd_ct) {
		this.pkd_ct = pkd_ct;
	}

	public BigDecimal getBxb() {
		return bxb;
	}

	public void setBxb(BigDecimal bxb) {
		this.bxb = bxb;
	}

	public BigDecimal getXxb() {
		return xxb;
	}

	public void setXxb(BigDecimal xxb) {
		this.xxb = xxb;
	}

	public BigDecimal getHxb() {
		return hxb;
	}

	public void setHxb(BigDecimal hxb) {
		this.hxb = hxb;
	}

	public BigDecimal getXhdb() {
		return xhdb;
	}

	public void setXhdb(BigDecimal xhdb) {
		this.xhdb = xhdb;
	}

	public BigDecimal getHxbbj() {
		return hxbbj;
	}

	public void setHxbbj(BigDecimal hxbbj) {
		this.hxbbj = hxbbj;
	}

	public Integer getBfz() {
		return bfz;
	}

	public void setBfz(Integer bfz) {
		this.bfz = bfz;
	}
	
	

}
